<template>
  <!--<input type="text" v-model="value" />-->
  <input type="text"
         :value="modelValue"
         @input="e=> $emit('update:modelValue',e.target.value)" />
</template>
<script setup>

import { computed } from 'vue'

const props = defineProps(['modelValue'])
const emit = defineEmits(['update:modelValue'])

const value = computed({
  get() {
    return props.modelValue
  },
  set(val) {
    emit('update:modelValue', val)
  }
})
</script>

<style scoped>

</style>
